package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宠物信息对象 pet
 * 
 * @author 李姝函
 * @date 2024-09-14
 */
public class Pet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，宠物ID */
    private Long id;

    /** 宠物品类ID */
    private Long categoryId;

    /** 宠物名称 */
    @Excel(name = "宠物名称")
    private String name;

    /** 宠物年龄 */
    @Excel(name = "宠物年龄")
    private Long age;

    /** 宠物性别 */
    @Excel(name = "宠物性别")
    private Long gender;

    /** 健康状况 */
    @Excel(name = "健康状况")
    private String healthStatus;

    /** 宠物价格 */
    @Excel(name = "宠物价格")
    private BigDecimal price;

    /** 宠物状态 */
    @Excel(name = "宠物状态")
    private Long status;

    /** 宠物图片 */
    @Excel(name = "宠物图片")
    private String imgUrl;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }

    public void setHealthStatus(String healthStatus) 
    {
        this.healthStatus = healthStatus;
    }

    public String getHealthStatus() 
    {
        return healthStatus;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("name", getName())
            .append("age", getAge())
            .append("gender", getGender())
            .append("healthStatus", getHealthStatus())
            .append("price", getPrice())
            .append("status", getStatus())
            .append("imgUrl", getImgUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
